{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "7fed617e",
   "metadata": {},
   "outputs": [],
   "source": [
    "from givens_angles import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "f6a20d00",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "6"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r = np.arange(-2, 4, 1)\n",
    "len(r)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "340ec051",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([-2, -1,  0,  1,  2,  3])"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "f926cb61",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[ 1.00000000e+00+6.70005140e-17j  8.32667268e-17+5.26209572e-18j\n",
      " -1.11022302e-16+8.18973084e-18j -5.55111512e-17+1.61056673e-17j\n",
      " -1.15572504e-17-1.86452960e-17j -1.09211504e-19+2.59711169e-19j]\n"
     ]
    }
   ],
   "source": [
    "betas, thetas = giv_angles(12, 6, 8, -5, 3/2, r=r)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "10dfc5a6",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([ 2.0943951 ,  0.78539816, -0.52359878, -1.83259571, -3.14159265,\n",
       "        1.83259571])"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "np.array(betas)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "fc14b755",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([-0.10794678, -0.25917693, -0.58569248, -1.0800754 , -1.44720618])"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "np.array(thetas)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "7c0d00f0",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "base",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
